﻿namespace LibraryProject.Model;

[SQLite.Table("account")]
public class Account {
    [SQLite.PrimaryKey, SQLite.AutoIncrement, SQLite.Column("id")]
    public int Id { get; set; }

    [SQLite.Column("account_id")]
    public string AccountId { get; set; } = "default";

    [SQLite.Column("device_id")]
    public string DeviceId { get; set; } = "default"; // 设备id

    public override string ToString() {
        return System.Text.Json.JsonSerializer.Serialize(this);
    }
}